package com.shang.bean;

/**
 * @ClassName Emp
 * @Description TODO
 * @Author Larry
 * @Date 2021/5/19 16:44
 * @Version 1.0
 */
public class Emp {
    private String ename;
    private String esex;
    private Dept dept;

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public void setEsex(String esex) {
        this.esex = esex;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public void testemp(){
        System.out.println(ename + ":::" + esex + ":::" + dept);
    }
}
